export interface Idea {
    id: number;
    title: string;
    tags: string[];
    views: number;
    stars: number;
    created_at: string;
    content: string;
}

export interface IdeasResponse {
    total_count: number;
    idea_count: number;
    ideas: Idea[];
}

export function defaultIdea(): Idea {
    return {
        id: 0,
        title: "",
        tags: [],
        views: 0,
        stars: 0,
        created_at: "",
        content: "",
    };
}
